package com.a.lib_bean.api;

import com.google.gson.annotations.SerializedName;
import com.hjq.http.annotation.HttpIgnore;
import com.a.lib_bean.enums.PermissionType;

import java.util.List;

public class CheckPermissionApi extends EmployeeApi {
    private final String permissionID;
    @HttpIgnore
    @SerializedName("permissionIDs")
    private List<Integer> permissionIDs;

    public CheckPermissionApi(PermissionType type, int employeeID, String permissionID) {
        super(Url.checkPermission(type), employeeID);
        this.permissionID = permissionID;
    }

    public String getPermissionID() {
        return permissionID;
    }

    @Override
    public int getEmployeeID() {
        return super.getEmployeeID();
    }

    public List<Integer> getPermissionIDs() {
        return permissionIDs;
    }

    public void setPermissionIDs(List<Integer> permissionIDs) {
        this.permissionIDs = permissionIDs;
    }


}
